

function  Lottery (){
    this.code = this.getcode();

}
Lottery.prototype.getcode = function(){
	return (Math.random()+'').substring(2,8)
}



module.exports = Lottery;